home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / networke / xfirepow.000 / xfirepow / xfirepower-0.84 / client / data.c < prev    next >
C/C++ Source or Header  |  1996-03-16  |  1KB  |  62 lines

  1. #include "Wlib.h"
  2. #include "data.h"
  3. #include "defs.h"
  4. #include "struct.h"
  5.  
  6. W_Window baseWin, cwin, mapwin, messwin[MW_MAX], typewin, playerwin, motdwin, teamwin[2], quitwin;
  7. W_Window dashwin, optionwin=0, win3d;
  8. W_Image *myTankImg, *teamTankImg[2], *shellImg, *treeImg, *expImg, *mineImg, *mineExpImg;
  9. W_Image *t_shapes[NUMTERRAINS];
  10. W_Image *flagImg[NUMTEAMS];
  11.  
  12. char map[MAXMAPSIZE][MAXMAPSIZE];
  13. mapinfo map_info;
  14.  
  15. player players[MAXPLAYERS];
  16. player *me;
  17.  
  18. int sock = -1, udpSock = -1;
  19.  
  20. int totalread = 0;
  21.  
  22. shell shells[MAXPLAYERS*SHELLSPERPLAYER];
  23. flag flags[NUMFLAGS];
  24.  
  25. char *server = "panzer.atomic.com";
  26. int port = XFIREPORT;
  27. char *name = "guest";
  28.  
  29. int redrawmap = 0;
  30.  
  31. #ifdef UDP_PROXY
  32. char *proxyServer = "192.0.2.2"; /* special address for TIA/SLiRP */
  33. int proxyPort = 8592;
  34. int useUdpProxy = 0;
  35. #endif
  36.  
  37. int counter=0;
  38.  
  39. int displayoff = 0;
  40.  
  41. int my_dx, my_dy;
  42.  
  43. int quit = 0;
  44.  
  45. int teamOk = 0;
  46.  
  47. int redrawMotd = 0;
  48.  
  49. int map_pixel = 2;
  50.  
  51. int namesOnTanks = 1;
  52.  
  53. int splitWindows = 0;
  54.  
  55. mine mines[MAXPLAYERS * MINESPERPLAYER];
  56.  
  57. int message_mode=0;
  58.  
  59. int showBuildMarker = 1;
  60.  
  61. int viewHeight = 100, focalDist = 600;
  62.